package com.antler.smt.admin;

import com.antler.smt.utils.LogUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 后台管理服务API
 *
 * @author vic
 * @date 2017-11-27 17:58
 */
@SpringBootApplication
@MapperScan("com.antler.smt.admin.mapper")
public class SmtAdminApplication {
    /**
     * 日志
     */
    private static Logger log = LogUtil.get();

    public static void main(String[] args) {
        SpringApplication.run(SmtAdminApplication.class, args);
        log.info("后台管理系统API启动成功...");
    }
}